package com.workManager.mapper;

import com.workManager.pojo.TdDataPermission;
import com.workManager.pojo.TdDataPermissionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TdDataPermissionMapper {
    int countByExample(TdDataPermissionExample example);

    int deleteByExample(TdDataPermissionExample example);

    int deleteByPrimaryKey(Integer permissionId);

    int insert(TdDataPermission record);

    int insertSelective(TdDataPermission record);

    List<TdDataPermission> selectByExample(TdDataPermissionExample example);

    TdDataPermission selectByPrimaryKey(Integer permissionId);

    int updateByExampleSelective(@Param("record") TdDataPermission record, @Param("example") TdDataPermissionExample example);

    int updateByExample(@Param("record") TdDataPermission record, @Param("example") TdDataPermissionExample example);

    int updateByPrimaryKeySelective(TdDataPermission record);

    int updateByPrimaryKey(TdDataPermission record);
}